# $Id: PKGBUILD 65906 2012-02-22 13:33:33Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-parse-yapp
pkgver=1.05
pkgrel=5
pkgdesc="Perl/CPAN Module Parse::Yapp : Generates OO LALR parser modules"
arch=("any")
url="http://search.cpan.org/dist/Parse-Yapp"
license=("GPL" "PerlArtistic")
depends=('perl')
source=("http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-$pkgver.tar.gz")
md5sums=('7bfca736d6af36c51edf7a97111a8f3b')

build() {
  cd $srcdir/Parse-Yapp-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
